package com.xneure.enging.widget.event;

public enum EventType {
	UNKNOWN,
	CLICK,
	change,
	SELECT,
	DCLICK,
	OPEN,
	CLOSE,
	REMOVE,
	ADD,
	INIT,
	DESTROY,
	NEW,
	DEL, beforeExpand,onExpand;
	
	public static EventType getType(String type){
		for(EventType et:values()){
			if(et.name().equals(type)){
				return et;
			}
		}
		return UNKNOWN;
	}
}
